package com.rgs.pay.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: com-rgs-parent
 * @description:
 * @author: Mr.Ren
 * @create: 2022-12-02 14:23
 **/
@Data
public class OrderRefundDO {

    /**
     * 主键id
     */
    private String id;

    /**
     * 部门ID
     */
    private Long deptId;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 退款金额
     */
    private BigDecimal refundMoney;

    /**
     * 停车场id
     */
    private String parkId;

    /**
     * 退款状态
     */
    private String status;

    /**
     * 退款详情
     */
    private String reason;

    /**
     * 退款方式/平台：
     */
    private String refundPlatform;

    /**
     * 退款类型：1月卡退款;2停车费退款;3预约车位退款;
     */
    private String refundType;

    /**
     * $column.columnComment
     */
    private String outTradeNo;

    /**
     * $column.columnComment
     */
    private String outRefundNo;

    /**
     * $column.columnComment
     */
    private String transactionId;

    /**
     * 退款订单号
     */
    private String refundId;

    /**
     * 订单总金额
     */
    private BigDecimal totalMoney;

    /**
     * 退款成功时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundTime;

    /**
     * 创建人
     */
    private String createUser;

    //退款支付keyId
    private String sysPayKeyId;

    private Date createTime;
}
